import request from '@/utils/request'

export function deliveryList(data) {
    return request({
        url: '/v1/find/delivery/by/example',
        method: 'post',
        data
    })
}

export function deliveryInfo(data) {
    return request({
        url: '/v1/find/delivery/by/id',
        method: 'post',
        data
    })
}

export function deliveryAdd(data) {
    return request({
        url: '/v1/add/delivery',
        method: 'post',
        data
    })
}

export function deliveryEdit(data) {
    return request({
        url: '/v1/edit/delivery',
        method: 'post',
        data
    })
}

export function deliveryDelete(data) {
    return request({
        url: '/v1/delete/delivery',
        method: 'post',
        data
    })
}
